class smx_cmis
{
  require smx_os
  require smx_download
  require smx_java
  file { '/etc/init.d/fxcmis':
    ensure => file,
    owner  => root, group => root, mode => 755,
    source => 'puppet:///modules/smx_cmis/fxcmis',
  }

  service { 'fxcmis':
    ensure  => running,
    enable  => true,
    path    => "/etc/init.d",
    start   => "/etc/init.d/fxcmis start",
    stop    => "/etc/init.d/fxcmis stop",
    require => File['/etc/init.d/fxcmis'],
  }
}
